﻿<%@ Page Title="" Language="C#" MasterPageFile="~/admin/project/Project.master" AutoEventWireup="true" CodeFile="ChangeProjectStatus.aspx.cs" Inherits="admin_project_UpdateProject" %>

<%@ MasterType VirtualPath="~/admin/project/Project.master" %>
<%@ Reference VirtualPath="~/admin/Admin.master" %>
<asp:Content ID="Content1" ContentPlaceHolderID="SettingHeading" runat="Server">
    Update Project
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="TheForm" runat="Server">
    <!-- result message -->
    <div class="a-field">
        <label>
            <h2>
                <asp:Literal ID="ltrError" runat="server"></asp:Literal></h2>
        </label>
    </div>
    <!-- Project Name -->
    <div class="a-field">
        <label>Choose a Project <span class="vtip a-tooltip" title="Choose a project that you want to update information">(?)</span></label>
        <div class="a-select">
            <asp:DropDownList ID="ddlProjectName" runat="server" AutoPostBack="True" OnSelectedIndexChanged="ddlProjectName_SelectedIndexChanged">
            </asp:DropDownList>
        </div>
    </div>
    <div class="<asp:Literal ID="ltrDetails" runat="server"></asp:Literal>">
    <!-- Description -->
    <div class="a-field">
        <label>Description <span class="vtip a-tooltip" title="A full description of project so that your team members know exactly what they are working on">(?)</span></label>
        <div class="a-textarea">
            <asp:TextBox TextMode="MultiLine" ID="txtDescription" runat="server" Enabled="False"></asp:TextBox>
        </div>
    </div>
    <!-- Custom Message -->
    <div class="a-field">
        <label>Custom Message <span class="vtip a-tooltip" title="Use this custom message to display timely announcement to your team members, for example: <strong>Deadline is renewed!</strong>">(?)</span></label>
        <div class="a-textarea" Enabled="False">
            <asp:TextBox TextMode="MultiLine" ID="txtCustomMessage" runat="server" Enabled="False"></asp:TextBox>
        </div>
    </div>
    <!-- a check-box -->
    <div class="a-field">
        <label>Active Project <span class="vtip a-tooltip" title="Set this status to Off to Close this project, which means user will not be able to work on it. Set this Status to On to Re-enabled project. Please note that a project can only be closed if <strong>all</strong> bugs of that project is already closed.">(?)</span></label>
        <div class="a-switch">
            <label class="a-on">On</label>
            <label class="a-off">Off</label>
            <asp:CheckBox ID="chbActive" runat="server" />
        </div>
    </div>
    <!-- submit button -->
    <div class="a-field a-buttons">
        <asp:Button ID="btnCreate" runat="server" Text="Update" CssClass="a-button" OnClick="btnCreate_Click" />
    </div>
    </div>
</asp:Content>